.container {

  // padding-top: 120rpx;
  .navigation-cneter {
    min-height: 80vh;
    padding: 20rpx;
    background-image: linear-gradient(#2087fe, #99baf5 250rpx, transparent 500rpx);
  }
}

.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100rpx;
  padding: 0 20rpx;

  .search-box {
    display: flex;
    align-items: center;
    flex: 1;
    height: 80rpx;
    background-color: #fff;
    border-radius: 20px;
    padding: 0 10rpx;

    .search-icon {
      margin: 0 20rpx;
      font-size: 34rpx;
      color: var(--secondary-text);
    }

    .search-input {
      flex: 1;
      height: 60rpx;
      font-size: var(--small-font);
      color: var(---main-text);
    }

    .filter {
      margin: 0 20rpx;
      .iconfont {
        font-size: 46rpx;
        color: var(--color-priamry);
      }
    }
  }
}

.user-list {
  // padding: 0 20rpx;

  .user-item {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    border-radius: 8px;
    background-color: #fff;
    // padding: 20rpx;
    margin-bottom: 20rpx;

    .user-item-info {
      padding: 0 30rpx;

      .user-name {
        display: flex;
        align-items: center;
        height: 80rpx;
        font-size: var(--medium-font);
        color: var(--main-text);
        font-weight: bold;
        border-bottom: 2rpx solid var(--border-color);
      }

      .user-info {
        display: flex;
        justify-content: space-between;
        font-size: var(--small-font);
        margin: 40rpx 0;

        .info-name {
          flex: 0 0 130rpx;
          color: var(--main-text);
          margin-right: 20rpx;
        }

        .info-value {
          color: var(--secondary-color);
          word-break: break-all;
          text-align: right;

          .unit {
            font-size: var(--mini-font);
            margin-left: 6rpx;
          }
        }
      }
    }

    .user-item-tool {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      height: 100rpx;
      background-color: #f6f7fb;
      padding: 0 30rpx;
      border-radius: 8px;

      .pay-money {
        flex: 1;
        color: var(--main-text);
        font-size: var(--small-font);

        .monry-num {
          font-weight: bold;
          color: var(--color-priamry);
          &.warn{
            color: var(--color-warning);
          }
          &.success{
            color: var(--color-success);
          }
        }

        .unit {
          font-size: var(--mini-font);
          margin-left: 6rpx;
        }
      }

      .item-btn {
        display: flex;
        align-items: center;
        height: 50rpx;
        border-radius: 30rpx;
        font-size: var(--mini-font);
        margin-left: 10rpx;
        padding: 0 30rpx;

        &.btn1 {
          border: 2rpx solid var(--color-priamry);
          color: var(--color-priamry);
        }

        &.btn2 {
          border: 2rpx solid var(--color-priamry);
          color: #fff;
          background-color: var(--color-priamry);
        }
      }
    }
  }
}
.search-pop {
  padding: 0 30rpx;

  .search-title {
    display: flex;
    align-items: center;
    height: 250rpx;
    font-size: 30rpx;
    font-weight: bold;
    color: var(--color-priamry);
    padding-top: 100rpx;
    box-sizing: border-box;
  }

  .search-item {
    padding: 0 10rpx;

    .search-item-title {
      font-size: 30rpx;
      // color: var(--secondary-text);
      line-height: 50rpx;
    }

    .search-item-value {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 80rpx;
      border-bottom: 2rpx solid #f5f5f5;
      color: var(--secondary-text);
      .value-txt{
        color: var(--color-priamry-dark);
      }
    }
  }
  .search-btn{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30rpx;
    .search-btn-item{
      display: flex;
      align-items: center;
      justify-content: center;
      height: 60rpx;
      width: 160rpx;
      color: #fff;
      font-size: 30rpx;
      font-weight: bold;
      margin-left: 30rpx;
      border-radius: 30rpx;
      background-color: var(--color-priamry);
    }
  }
}
.search-area {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 20rpx;

  .search-input {
    flex: 0 0 80rpx;
    border-bottom: 4rpx solid var(--color-priamry-dark);

    input {
      width: 100%;
      height: 100%;
    }
  }

  .search-list {
    flex: 1;
    overflow: hidden;

    .list-item {
      display: flex;
      align-items: center;
      width: 100%;
      height: 80rpx;
      font-size: 30rpx;
      border-bottom: 2rpx solid #f5f5f5;

      &:last-child {
        border-color: transparent;
      }
    }
  }
}
.no-data-wrap{
  margin-top: 200rpx;
  .no-data-txt{
    color: var(--main-text) !important;
  }
}

.bluetooth-pop {
  display: flex;
  flex-direction: column;
  padding: 30rpx;
  width: 100%;
  height: 100%;

  .pop-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80rpx;
    font-size: 30rpx;
    font-weight: bold;
    margin-bottom: 20rpx;
  }

  .device-wrap {
    width: 100%;
    height: 120rpx;
    background-color: #f5f5f5;
    border-radius: 10rpx;
    padding: 20rpx;

    .device-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 100%;
      height: 100%;
      font-size: 30rpx;
      font-weight: bold;
      color: var(--color-priamry);
      padding-left: 20rpx;
      .device-name{
        display: flex;
        align-items: center;
        height: 70rpx;
        .icon-check{
          margin-left: auto;
        }
      }
      .iconfont {
        color: #fd8823;
        font-size: 36rpx;
        font-weight: bold;
        margin-right: 20rpx;
      }

      .tip {
        font-size: 22rpx;
        color: var(--secondary-color);
        padding-left: 60rpx;
      }
    }

    .device-searching {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      font-size: 30rpx;
      font-weight: bold;
      color: var(--color-priamry);

      .search-icon {
        color: var(--color-priamry);
        margin-left: 20rpx;
        animation: rotate 2s linear infinite;
      }
    }
    .no-device{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      font-size: 30rpx;
      font-weight: bold;
    }
  }

  .bluetooth-btn {
    display: flex;
    align-items: center;
    margin-top: 40rpx;

    .bluetooth-btn-item {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 80rpx;
      flex: 1;
      font-size: 28rpx;
      font-weight: bold;

      &:last-child {
        color: var(--color-priamry-dark);
      }
    }
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}